﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace Acme.BookStore
{
    /// <summary>
    ///验证码
    /// </summary>
    public class Captcha : FullAuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 验证码的字符串表示
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 验证码的结果
        /// </summary>
        public int Result { get; set; } = 1;
        /// <summary>
        /// 验证码的创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }= DateTime.Now;
    }
}
